package com.hy.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.hy.entity.pojo.HyProperty;
import lombok.Data;

@ContentRowHeight(20)
@HeadRowHeight(40)
@ColumnWidth(10)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 12)
@Data
public class HyPropertyVO extends HyProperty {

    @ExcelProperty(value = "资产类别" ,index = 7)
    @ColumnWidth(15)
    private String propertyType;
    @ExcelProperty(value = "存放区域" ,index = 8)
    @ColumnWidth(15)
    private String holdPlace;
    @ExcelProperty(value = "管理人" ,index = 9)
    private String managerName;
    @ColumnWidth(30)
    @ExcelProperty(value = "单位名称",index = 1)
    private String unitName;
    @ExcelProperty(value = "使用人",index = 10)
    private String usedName;
    @ExcelProperty(value = "管理部门" ,index = 11)
    private String managerDeptName;
    @ExcelProperty(value = "使用部门" ,index = 12)
    private String usedDeptName;
    @ExcelProperty(value = "资产状态",index = 13)
    private String stateName;
    @ExcelProperty(value = "是否帐外资产" ,index = 6)
    private String outName;
    @ExcelIgnore
    private String mgrName;

}
